package com.spr.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SprDevicePushRecordVO {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 设备编号
     */
    @TableField(value = "device_number")
    @ApiModelProperty(value = "设备编号")
    private String deviceNumber;

    /**
     * 运行天数
     */
    @TableField(value = "operation_number")
    @ApiModelProperty(value = "运行天数")
    private Integer operationNumber;

    /**
     * 推进时间
     */
    @TableField(value = "push_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "推进时间")
    private Date pushTime;

    /**
     * 设备开始运行时间
     */
    @TableField(value = "operation_start_time")
    @ApiModelProperty(value = "设备开始运行时间")
    private Date operationStartTime;

    /**
     * 设备当前状态(0开机 1喷漆中 2 关机)
     */
    @TableField(value = "current_status")
    @ApiModelProperty(value = "设备当前状态(0开机 1喷漆中 2 关机)")
    private Integer currentStatus;


    /**
     * 站点名称
     */
    @TableField(value = "site_name")
    @ApiModelProperty(value = "站点名称")
    private String siteName;

    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    /**
     * 推送批次号
     */
    @TableField(value = "push_batch_number")
    @ApiModelProperty(value = "推送批次号")
    private Long pushBatchNumber;
}
